package hzn.dao;

import hzn.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper//必须有,用于开启注解方式的mybatis
public interface DeptDao {
    boolean addDept(Dept detp);
    Dept findById(Integer id);
    List<Dept> findAll();
}

